/* 创作中心样式 */
.worker-container {
  min-height: 100vh;
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
  padding: 24px;
}

.worker-header {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.9));
  border-radius: 16px;
  padding: 32px;
  margin-bottom: 24px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-content {
  flex: 1;
}

.worker-title {
  font-size: 32px;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 8px 0;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.worker-subtitle {
  font-size: 16px;
  color: #666;
  margin: 0;
}

.worker-content {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.worker-tabs {
  min-height: 600px;
}

.worker-tabs .ant-tabs-tab {
  font-size: 16px;
  padding: 12px 24px;
}

.worker-tabs .ant-tabs-tab-active {
  font-weight: 600;
}

.config-card {
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  margin-bottom: 24px;
}

.config-card .ant-card-head {
  border-bottom: 2px solid #f0f0f0;
  padding: 16px 24px;
}

.config-card .ant-card-head-title {
  font-size: 18px;
  font-weight: 600;
  color: #1a1a1a;
}

.config-card .ant-card-body {
  padding: 24px;
}

.config-item {
  margin-bottom: 24px;
}

.config-item:last-child {
  margin-bottom: 0;
}

.config-item label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: #333;
  margin-bottom: 8px;
}

.upload-section {
  display: flex;
  gap: 12px;
  align-items: center;
}

.upload-section .ant-input {
  flex: 1;
}

.help-text {
  font-size: 12px;
  color: #999;
  margin-top: 6px;
  line-height: 1.5;
}

.slider-value {
  text-align: right;
  font-size: 14px;
  color: #666;
  margin-top: 4px;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}

.project-card {
  border-radius: 12px;
  transition: all 0.3s ease;
}

.project-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.project-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 12px;
}

.project-header h3 {
  font-size: 18px;
  font-weight: 600;
  color: #1a1a1a;
  margin: 0;
  flex: 1;
}

.project-info {
  font-size: 13px;
  color: #666;
  line-height: 1.8;
}

.project-info div {
  margin-bottom: 4px;
}

/* 响应式设计 */
@media (max-width: 768px) {
  .worker-container {
    padding: 16px;
  }

  .worker-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 24px;
  }

  .worker-title {
    font-size: 24px;
  }

  .projects-grid {
    grid-template-columns: 1fr;
  }

  .upload-section {
    flex-direction: column;
    align-items: stretch;
  }

  .upload-section .ant-input {
    margin-bottom: 8px;
  }
}

/* Ant Design 组件样式覆盖 */
.worker-tabs .ant-tabs-content-holder {
  padding-top: 24px;
}

.config-card .ant-input,
.config-card .ant-input-password,
.config-card .ant-select {
  border-radius: 8px;
}

.config-card .ant-btn {
  border-radius: 8px;
  height: 36px;
}

.config-card .ant-slider {
  margin: 12px 0;
}

.config-card .ant-slider-handle {
  border: 2px solid #667eea;
}

.config-card .ant-slider-track {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.config-card .ant-switch-checked {
  background-color: #667eea;
}

